<template>
    <div>
        <p>vuex.state.count:{{count}}</p>
    </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  data () {
    return {
      // vuex.store 存储的值
      count: this.$store.state.count
    }
  }
}
</script>

<style scoped>
</style>
